<?php $this -> load -> view('header'); ?>
<?= $this -> session -> flashdata('status_message') ?>
<?=form_open('login/doLogin') ?>
<label for="username">Username:</label><input type="text" name="username" id="username" size="25" maxlength="255" /><br />
<label for="pass">Password:</label><input type="password" name="pass" id="pass" /><br />
<input type="submit" value="log in" />
</form>
<?php $this -> load -> view('footer'); ?>